package com.company.cloud.thirduser.moudules.api.impl;

import com.company.cloud.thirduser.moudules.api.TencentSaasApi;
import com.company.cloud.thirduser.moudules.utils.TencentSaasUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TencentSaasServiceImpl implements TencentSaasApi {

    @Autowired
    TencentSaasUtil tencentSaasUtil;


    @Override
    public String detectAuth(String ruleId,String redirectUrl) {
        return tencentSaasUtil.DetectAuth(ruleId,redirectUrl);
    }

    @Override
    public String getDetectInfo(String bizToken, String ruleId) {
        return tencentSaasUtil.GetDetectInfo(bizToken,ruleId);
    }
}
